package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author ld&zjw
 * @since 2024-01-27
 */
public interface SysUserService extends IService<SysUser> {
    public SysUser login(SysUser user);

    public Boolean register(SysUser user);

    public boolean save(SysUser user);

    public int update(SysUser user);

    public int update(Long id);

    public SysUser getById(Long id);

    public Page<SysUser> findPage(Integer pageNum, Integer pageSize, String search);

}
